3.7.39 \(\int \frac {1}{x^{3/2} (2-b x)^{3/2}} \, dx\)

Optimal. Leaf size=34 \[ \frac {1}{\sqrt {x} \sqrt {2-b x}}-\frac {\sqrt {2-b x}}{\sqrt {x}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {45, 37} \begin {gather*} \frac {1}{\sqrt {x} \sqrt {2-b x}}-\frac {\sqrt {2-b x}}{\sqrt {x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/(x^(3/2)*(2 - b*x)^(3/2)),x]

[Out]

1/(Sqrt[x]*Sqrt[2 - b*x]) - Sqrt[2 - b*x]/Sqrt[x]

Rule 37

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n +
1))/((b*c - a*d)*(m + 1)), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n + 2, 0] && NeQ
[m, -1]

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n + 1
))/((b*c - a*d)*(m + 1)), x] - Dist[(d*Simplify[m + n + 2])/((b*c - a*d)*(m + 1)), Int[(a + b*x)^Simplify[m +
1]*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && ILtQ[Simplify[m + n + 2], 0] &&
 NeQ[m, -1] &&  !(LtQ[m, -1] && LtQ[n, -1] && (EqQ[a, 0] || (NeQ[c, 0] && LtQ[m - n, 0] && IntegerQ[n]))) && (
SumSimplerQ[m, 1] ||  !SumSimplerQ[n, 1])

Rubi steps

\begin {align*} \int \frac {1}{x^{3/2} (2-b x)^{3/2}} \, dx &=\frac {1}{\sqrt {x} \sqrt {2-b x}}+\int \frac {1}{x^{3/2} \sqrt {2-b x}} \, dx\\ &=\frac {1}{\sqrt {x} \sqrt {2-b x}}-\frac {\sqrt {2-b x}}{\sqrt {x}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 21, normalized size = 0.62 \begin {gather*} \frac {b x-1}{\sqrt {x} \sqrt {2-b x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/(x^(3/2)*(2 - b*x)^(3/2)),x]

[Out]

(-1 + b*x)/(Sqrt[x]*Sqrt[2 - b*x])

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.09, size = 29, normalized size = 0.85 \begin {gather*} \frac {(1-b x) \sqrt {2-b x}}{\sqrt {x} (b x-2)} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[1/(x^(3/2)*(2 - b*x)^(3/2)),x]

[Out]

((1 - b*x)*Sqrt[2 - b*x])/(Sqrt[x]*(-2 + b*x))

________________________________________________________________________________________

fricas [A]  time = 1.13, size = 29, normalized size = 0.85 \begin {gather*} -\frac {{\left (b x - 1\right )} \sqrt {-b x + 2} \sqrt {x}}{b x^{2} - 2 \, x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^(3/2)/(-b*x+2)^(3/2),x, algorithm="fricas")

[Out]

-(b*x - 1)*sqrt(-b*x + 2)*sqrt(x)/(b*x^2 - 2*x)

________________________________________________________________________________________

giac [B]  time = 1.09, size = 83, normalized size = 2.44 \begin {gather*} -\frac {\sqrt {-b x + 2} b^{2}}{2 \, \sqrt {{\left (b x - 2\right )} b + 2 \, b} {\left | b \right |}} - \frac {2 \, \sqrt {-b} b^{2}}{{\left ({\left (\sqrt {-b x + 2} \sqrt {-b} - \sqrt {{\left (b x - 2\right )} b + 2 \, b}\right )}^{2} - 2 \, b\right )} {\left | b \right |}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^(3/2)/(-b*x+2)^(3/2),x, algorithm="giac")

[Out]

-1/2*sqrt(-b*x + 2)*b^2/(sqrt((b*x - 2)*b + 2*b)*abs(b)) - 2*sqrt(-b)*b^2/(((sqrt(-b*x + 2)*sqrt(-b) - sqrt((b
*x - 2)*b + 2*b))^2 - 2*b)*abs(b))

________________________________________________________________________________________

maple [A]  time = 0.00, size = 18, normalized size = 0.53 \begin {gather*} \frac {b x -1}{\sqrt {-b x +2}\, \sqrt {x}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/x^(3/2)/(-b*x+2)^(3/2),x)

[Out]

(b*x-1)/x^(1/2)/(-b*x+2)^(1/2)

________________________________________________________________________________________

maxima [A]  time = 1.26, size = 28, normalized size = 0.82 \begin {gather*} \frac {b \sqrt {x}}{2 \, \sqrt {-b x + 2}} - \frac {\sqrt {-b x + 2}}{2 \, \sqrt {x}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^(3/2)/(-b*x+2)^(3/2),x, algorithm="maxima")

[Out]

1/2*b*sqrt(x)/sqrt(-b*x + 2) - 1/2*sqrt(-b*x + 2)/sqrt(x)

________________________________________________________________________________________

mupad [B]  time = 0.32, size = 27, normalized size = 0.79 \begin {gather*} \frac {b\,\sqrt {x}}{\sqrt {2-b\,x}}-\frac {1}{\sqrt {x}\,\sqrt {2-b\,x}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(x^(3/2)*(2 - b*x)^(3/2)),x)

[Out]

(b*x^(1/2))/(2 - b*x)^(1/2) - 1/(x^(1/2)*(2 - b*x)^(1/2))

________________________________________________________________________________________

sympy [A]  time = 1.61, size = 90, normalized size = 2.65 \begin {gather*} \begin {cases} \frac {\sqrt {b}}{\sqrt {-1 + \frac {2}{b x}}} - \frac {1}{\sqrt {b} x \sqrt {-1 + \frac {2}{b x}}} & \text {for}\: \frac {2}{\left |{b x}\right |} > 1 \\\frac {i b^{\frac {5}{2}} x \sqrt {1 - \frac {2}{b x}}}{- b^{2} x + 2 b} - \frac {i b^{\frac {3}{2}} \sqrt {1 - \frac {2}{b x}}}{- b^{2} x + 2 b} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x**(3/2)/(-b*x+2)**(3/2),x)

[Out]

Piecewise((sqrt(b)/sqrt(-1 + 2/(b*x)) - 1/(sqrt(b)*x*sqrt(-1 + 2/(b*x))), 2/Abs(b*x) > 1), (I*b**(5/2)*x*sqrt(
1 - 2/(b*x))/(-b**2*x + 2*b) - I*b**(3/2)*sqrt(1 - 2/(b*x))/(-b**2*x + 2*b), True))

________________________________________________________________________________________